<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;

class CompanyController extends Controller {

    public function index(){
        $listData = [
            [
                'id' => 1,
                'name' => '河钢集团有限公司',
                'thumb' => 'https://img5.tianyancha.com/logo/lll/23de5d755d1759461839966139532d5d.png@!f_200x200',
                'address' => '石家庄市体育南大街385号',
                'contact' => '0311-66753432',
                'gap' => '5522km',
                'created_at' => '',
                'updated_at' => '',
            ],
            [
                'id' => 2,
                'name' => '渤海国际信托股份有限公司',
                'thumb' => 'https://img5.tianyancha.com/logo/lll/f50de50877d741eaebcc59b32049e6a9.png@!f_200x200',
                'address' => '石家庄市新石中路377号B座22-23层',
                'contact' => '0311-668053432',
                'gap' => '222km',
                'created_at' => '',
                'updated_at' => '',
            ],
            [
                'id' => 3,
                'name' => '马上消费金融股份有限公司',
                'thumb' => 'https://image.tianyancha.com/tmp/20091410/571466764013/edit_company754569.png@!fill_200x200',
                'address' => '重庆市渝北区黄山大道中段52号渝兴广场B2栋4至8楼',
                'contact' => '023-565585254',
                'gap' => '22km',
                'created_at' => '',
                'updated_at' => '',
            ],
            [
                'id' => 4,
                'name' => '重庆趣步网络科技有限公司',
                'thumb' => 'https://img5.tianyancha.com/logo/lll/e3770004d5d6ab84446dd1d8241e3ea8.png@!f_200x200',
                'address' => '重庆市璧山区璧泉街道双星大道50号6幢7-2',
                'contact' => '18008463432',
                'gap' => '1km',
                'created_at' => '',
                'updated_at' => '',
            ],
            [
                'id' => 5,
                'name' => '金科地产集团股份有限公司',
                'thumb' => 'https://img5.tianyancha.com/logo/lll/b2722b8ead3105aed53aeb502124aa19.png@!f_200x200',
                'address' => '重庆市江北区复盛镇正街（政府大楼）',
                'contact' => '023-66753432',
                'gap' => '10km',
                'created_at' => '',
                'updated_at' => '',
            ],
            [
                'id' => 6,
                'name' => '中冶建工集团有限公司阿斯顿萨达萨达萨达',
                'thumb' => 'https://img5.tianyancha.com/logo/lll/908b63fa28f229fdac00d37666a24b4f.png@!f_200x200',
                'address' => '重庆市大渡口区西城大道1号',
                'contact' => '13883563432',
                'gap' => '10km',
                'created_at' => '',
                'updated_at' => '',
            ],
            [
                'id' => 7,
                'name' => '重庆长安汽车股份有限公司',
                'thumb' => 'https://img5.tianyancha.com/logo/lll/b59c088a24db5a719571578aea741859.png@!f_200x200',
                'address' => '重庆市江北区建新东路260号',
                'contact' => '023-67593432',
                'gap' => '10km',
                'created_at' => '',
                'updated_at' => '',
            ],
        ];
        return $this->returnJson(0, $listData);
    }
}
